package com.chandra.pos.common.entity;

import javax.persistence.Column;
import javax.persistence.Embeddable;

/* @(#) Address.java
 * Copyright 2013 - 2015 QatarAirways Group. All Rights Reserved.
 *
 * This Software is the proprietary information of QR Group
 * Use is subject to License terms.
 * Created by T4671 on 18/03/2015.
 */
@Embeddable
public class Address implements java.io.Serializable {
    public Address() {
        super();
    }

    public Address(final short houseNumber, final String streetName, final String city,
                   final String country) {
        this();
        this.houseNumber = houseNumber;
        this.streetName = streetName;
        this.city = city;
        this.country = country;
    }

    @Column(name = "HOUSE_NUMBER")
    private short houseNumber;

    @Column(name = "STREET_NAME")
    private String streetName;

    @Column(name = "CITY")
    private String city;

    @Column(name = "COUNTRY")
    private String country;

    @Column(name = "PINCODE")
    private String pincode;


    public String getPincode() {
        return pincode;
    }

    public void setPincode(final String pincode) {
        this.pincode = pincode;
    }

    public short getHouseNumber() {
        return houseNumber;
    }

    public void setHouseNumber(final short houseNumber) {
        this.houseNumber = houseNumber;
    }

    public String getStreetName() {
        return streetName;
    }

    public void setStreetName(final String streetName) {
        this.streetName = streetName;
    }

    public String getCity() {
        return city;
    }

    public void setCity(final String city) {
        this.city = city;
    }

    public String getCountry() {
        return country;
    }

    public void setCountry(final String country) {
        this.country = country;
    }

}
